<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib prefix='c' uri='http://java.sun.com/jstl/core_rt'%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!-- <link rel="Stylesheet" type="text/css" href="css/common.css" /> -->

<style type="text/css">
body {
	margin: 0px;
	padding: 0px;
	background-color: #F5F5F5;
	font-family: Verdana, Century Gothic, Arial;
	font-size: 11px;
	text-align: center;
	line-height: 18px;
	color: #555;
}

h1 {
	font-family: Georgia, Verdana, Serif;
	font-size: 22px;
	color: #555;
	font-style: italic;
}

input {
	color: #777;
	font-size: 11px;
	padding: 3px 2px 3px 2px;
	border-top: 1px solid #C7C7C7;
	border-left: 1px solid #DADADA;
	border-right: 1px solid #DADADA;
	border-bottom: 1px solid #DDD;
	padding: 3px 2px 3px 2px;
	height: 22px;
	width: auto;
}

.container {
	margin-left: auto;
	margin-right: auto;
	width: 1000px;
	text-align: left;
	height: auto;
	overflow: hidden;
	background-color: Transparent;
	text-align: right;
}

.container table {
	width: 368px;
	float: right;
	background-color: #EEE;
	border: 1px solid #CCC;
	padding: 15px;
}

input[type=submit] {
	padding: 5px;
	width: 80px;
	height: auto;
	overflow: hidden;
	cursor: pointer;
	border: 1px solid #CCC;
	border-bottom: 1px solid #BBB; -webkit-border-radius : 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	color: #137DEB;
	background-color: #FAFAFA;
	-webkit-border-radius: 2px;
}

input[type=submit]:hover {
	background-color: #137DEB;
	color: #97DFFF;
	border: 1px solid #BBB;
}
</style>
<title>Authentication | Store Manager Application</title>
</head>
<body>
	<div class="container">
		<h1>Authentication - Store Manager</h1>
		<div id="login-error">
			<c:if test="${not empty param.login_error}">
				<font color="red"> Username sau Password gre&#351;it, mai &#238;ncearca&#355;i.<br /> <br /> Eroare: <c:out
						value="${SPRING_SECURITY_LAST_EXCEPTION.message}" />.
				</font>
			</c:if>
		</div>
		<form action="j_spring_security_check" method="post">
			<table>
				<col width="15%">
				<col width="85%">
				<tr>
					<td><label for="j_username">Username</label></td>
					<td><input size="50" id="j_username" name="j_username"
						type="text" /></td>
				</tr>
				<tr>
					<td><label for="j_password">Password</label></td>
					<td><input size="50" id="j_password" name="j_password"
						type="password" /></td>
				</tr>
				<tr>
					<td colspan="2" align="right"><input type="submit"
						value="Enter" /></td>
				</tr>
			</table>
		</form>
	</div>
</body>